Working with TileView for WPF and Silverlight > Basic Properties |
TileView for WPF and Silverlight includes several properties that allow you to change the functionality of the control. Some of the more important properties are listed below. See TileView for WPF and Silverlight Appearance Properties for more information about properties that change the appearance of the control.
The following properties let you customize the C1TileView control (C1TileView in Silverlight):
Property (WPF) | Property (Silverlight) | Description |
---|---|---|
AnimationDuration | AnimationDuration | Gets or sets the amount of time that it takes for items to reorder. |
CanUserReorder | CanUserReorder | Gets or sets a value indicating whether the user can drag and drop and reorder C1TileViewItem objects in the control. |
Columns | Columns | Gets or sets the number of columns in which the C1TileViewItem objects are laid out. If the value is zero, it uses the minimum number that does not require scrolling. If both Columns and Rows are zero, the items are laid out in a square. |
ItemTemplateHeader | ItemTemplateHeader | Gets or sets the DataTemplate object to use as a title for the items. |
ItemTemplateMaximized | ItemTemplateMaximized | Gets or sets the DataTemplate object to use for items in the Maximized() state. |
ItemTemplateMinimized | ItemTemplateMinimized | Gets or sets the DataTemplate object to use for items in the Minimized() state. |
MaximizedIndex | MaximizedIndex | Gets or sets the index of the selected item in the Items collection. |
MaximizedItem | MaximizedItem | Gets or sets the member of the Items collection that is selected. |
MinimizedItemsPosition | MinimizedItemsPosition | Gets or sets a DockStyle indicating where to place the strip containing the minimized items. By default, the strip is at the right or bottom of the control. |
Rows | Rows | Gets or sets the number of rows in which the C1TileViewItem objects are laid out. If the value is zero, it usses the minimum number that does not require scrolling. If both Columns and Rows are zero, the items are laid out in a square. |
ScrollBarStyle | ScrollBarStyle | Gets or sets the style to use for the inner scrollbar. |
ScrollBarVisibility | ScrollBarVisibility | Gets or sets a value indicating whether the scrollbar is visible. |
UpdateSourceCollection | UpdateSourceCollection | Gets or sets a value indicating whether changes in the order of the items are written to Items or ItemsSource. |